package com.pai4j.pgc.service.event;
import com.pai4j.common.enums.community.ResourceTypeEnum;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 *
 *
 * @author: CYM-pai
 * @date: 2025/10/27 20:13
 **/
@Getter
public class CourseStudyEvent extends ApplicationEvent {

    private String userid;
    private ResourceTypeEnum resourceType;
    private Long resourceId;

    public CourseStudyEvent(Object source, String userid, ResourceTypeEnum resourceType, Long resourceId) {
        super(source);
        this.userid = userid;
        this.resourceType = resourceType;
        this.resourceId = resourceId;
    }
}
